package com.alks.function.data.request.finance.salary;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class PcCostDetail2AddRequest {

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "单据日期")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    private LocalDateTime slipDate;

    @ApiModelProperty(value = "部门名")
    private String deptNo;

    @ApiModelProperty(value = "员工")
    private String vendorName;

    @ApiModelProperty(value = "工号")
    private String vendorNo;

    @ApiModelProperty(value = "扣款/补贴类型")
    private String typeName;

    @ApiModelProperty(value = "扣款/补贴类型序号")
    private String typeNo;

    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;
}
